package com.sgcc.operate.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.sgcc.operate.mapper.OActiPrizeMapper;
import com.sgcc.operate.domain.OActiPrize;
import com.sgcc.operate.service.IOActiPrizeService;

/**
 * actiprizeService业务层处理
 * 
 * @author sgcc
 * @date 2021-03-31
 */
@Service
public class OActiPrizeServiceImpl implements IOActiPrizeService 
{
    @Autowired
    private OActiPrizeMapper oActiPrizeMapper;

    /**
     * 查询actiprize
     * 
     * @param id actiprizeID
     * @return actiprize
     */
    @Override
    public OActiPrize selectOActiPrizeById(String id)
    {
        return oActiPrizeMapper.selectOActiPrizeById(id);
    }

    /**
     * 查询actiprize列表
     * 
     * @param oActiPrize actiprize
     * @return actiprize
     */
    @Override
    public List<OActiPrize> selectOActiPrizeList(OActiPrize oActiPrize)
    {
        return oActiPrizeMapper.selectOActiPrizeList(oActiPrize);
    }

    /**
     * 新增actiprize
     * 
     * @param oActiPrize actiprize
     * @return 结果
     */
    @Override
    public int insertOActiPrize(OActiPrize oActiPrize)
    {
        return oActiPrizeMapper.insertOActiPrize(oActiPrize);
    }

    /**
     * 修改actiprize
     * 
     * @param oActiPrize actiprize
     * @return 结果
     */
    @Override
    public int updateOActiPrize(OActiPrize oActiPrize)
    {
        return oActiPrizeMapper.updateOActiPrize(oActiPrize);
    }

    /**
     * 批量删除actiprize
     * 
     * @param ids 需要删除的actiprizeID
     * @return 结果
     */
    @Override
    public int deleteOActiPrizeByIds(String[] ids)
    {
        return oActiPrizeMapper.deleteOActiPrizeByIds(ids);
    }

    /**
     * 删除actiprize信息
     * 
     * @param id actiprizeID
     * @return 结果
     */
    @Override
    public int deleteOActiPrizeById(String id)
    {
        return oActiPrizeMapper.deleteOActiPrizeById(id);
    }
}
